import {AGREE,DISAGREE,GIVEUP, ARRIVED,SUBMITDISAGREEREASON} from '../constants/vote'

const INITIAL_STATE = {
    num: 0
  }

  export default function vote (state = INITIAL_STATE, action) {
    switch (action.type) {
        case AGREE:
             const { recommend } = action.recommend
             return {}
        break
        case ARRIVED:
                return {}
        break
        case DISAGREE:
                return {}
        break
        case GIVEUP:
                return {}
        break
        case  SUBMITDISAGREEREASON:

          return {}
        default:
             return state
    }
  }